package cn.outsourcing.supermarket.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户实体类
 *
 * @author gzkemays
 * @since 2021-10-14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class HiolabsUser implements Serializable {

  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  private String nickname;

  private String name;

  private String username;

  private String password;

  private Boolean gender;

  private Integer birthday;

  private Integer registerTime;

  private Integer lastLoginTime;

  private String lastLoginIp;

  private String mobile;

  private String registerIp;

  private String avatar;

  private String weixinOpenid;

  private Boolean nameMobile;

  private String country;

  private String province;

  private String city;

  /**
   * 积分
   */
  private BigDecimal credits;

  /**
   * 用户余额
   */
  private BigDecimal balance;
}
